package net.siren93.smh.dao;

import net.siren93.smh.entity.EmployeeEntity;

import java.util.List;

/**
 * Created by siren93 on 15/9/25.
 */
public interface EmployeeDao extends GenericDao<EmployeeEntity, Integer> {

    EmployeeEntity findByName(String name);
    List<EmployeeEntity> findByPage(int page, int rows);

}
